package com.maxuxu.scihome.mapper;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.maxuxu.scihome.pojo.Document;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @className: DocumentMapper
 * @author: Maxuxu
 * @date: 2022/7/1 22:11
 * @description: 文档的mapper类
 */
@Mapper
@TableName(value = "scihome.document_inf",resultMap = "documentResultMap")
public interface DocumentMapper extends BaseMapper<Document> {
    // IPage<Map> documentpage(Page page, Document document);
    // Document documentpage();

    IPage<Document> selectByPage(IPage<Document> documentIPage,
                                 @Param(Constants.WRAPPER) Wrapper<Document> documentWrapper);

    // Document documentpage();

    // List<User> getuser();
}
